home *** CD-ROM | disk | FTP | other *** search
- # TRUMPET WINSOCK LOGIN.CMD FOR CIC NET
- #
- # initialize modem
- #
- output atz\13
- input 10 OK\n
- #
- # send phone number
- #
- output atdt\13
- #
- # my other number
- #
- #output atdt\13
- #
- # now we are connected.
- #
- input 30 CONNECT
- #
- # wait till it's safe to send because some modem's hang up
- # if you transmit during the connection phase
- #
- wait 20 dcd
- #
- # now prod the terminal server
- #
- output \13
- #
- # wait for the username prompt
- #
- input 30 name:
- username Enter your username
- output \u\13
- #
- # and the password
- #
- input 30 word:
- password Enter your password
- output \p\13
- #
- # we are now logged in
- #
- input 30 >
- #
- # jump into slip mode
- #
- output slip default\13
- #
- # wait for the address string
- #
- input 30 Your IP address is
- #
- # parse address
- #
- address 30
- input 30 \n
- #
- # we are now connected, logged in and in slip mode.
- #
- display \n
- display Connected. Your IP address is \i.\n
- #
- # now we are finished.
- #
-